# Contributor: lemon <lemon@bitmessage.ch>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=ii
pkgver=2.0
pkgrel=1
pkgdesc="Minimalist FIFO and filesystem-based IRC client"
url="https://tools.suckless.org/ii"
arch="all"
license="MIT"
options="!check" # upstream doesn't have a test suite
subpackages="$pkgname-doc"
source="https://dl.suckless.org/tools/ii-$pkgver.tar.gz
	use-system-strlcpy.patch
	"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
ab8102b5669495b7bc6a3311245f3eb49d2add1e387290e41deb51e121f4c7c98a09d117052c345d8b896149276a83790c0b78efe3ed19fc52bc00575bf8e44a  ii-2.0.tar.gz
9b58fd48de08b863c4d79bfa54ca38ab7871096236ce716cd9f72625b5621d7b2d8246ab10d8b6cd5ab823da5431efe6e89431b6af8087675715bd7f453f1350  use-system-strlcpy.patch
"
